package com.longcai.cm.domain.Vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;


@Getter
@Setter
@Accessors(chain = true)
@TableName("ja_shop")
@ApiModel(value = "JaShop对象", description = "门店表")
public class JaShopVo {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty("门店名称")
    @TableField("name")
    private String name;

    @ApiModelProperty("logo")
    @TableField("logo")
    private String logo;

    @ApiModelProperty("详情图")
    @TableField("shop_image")
    private String shopImage;

    @ApiModelProperty("省")
    @TableField("province")
    private String province;

    @ApiModelProperty("市")
    @TableField("city")
    private String city;

    @ApiModelProperty("县")
    @TableField("area")
    private String area;

    @ApiModelProperty("详细地址")
    @TableField("address")
    private String address;

    @ApiModelProperty("门店介绍")
    @TableField("shop_detail")
    private String shopDetail;

    @ApiModelProperty("经度")
    @TableField("lng")
    private String lng;

    @ApiModelProperty("纬度")
    @TableField("lat")
    private String lat;

    @ApiModelProperty("创建时间")
    @TableField("create_time")
    private String createTime;

    @ApiModelProperty("服务内容")
    @TableField("service_info")
    private String serviceInfo;

    @ApiModelProperty("服务内容-子服务")
    @TableField("service_info_item")
    private String serviceInfoItem;

    @ApiModelProperty("1置顶")
    @TableField("is_top")
    private Integer isTop;

    @ApiModelProperty("标签")
    @TableField("label")
    private String label;

    @ApiModelProperty("评分")
    @TableField("score")
    private Integer score;

    @ApiModelProperty("门店销量")
    @TableField("count")
    private Long count;


    @ApiModelProperty("服务时间")
    @TableField("service_time")
    private String serviceTime;

    @ApiModelProperty("联系方式")
    @TableField("contact")
    private String contact;

    @ApiModelProperty("距离")
    @TableField(exist = false)
    private Integer distance;

    @ApiModelProperty("评价数量")
    @TableField(exist = false)
    private Long commentCount;

    @ApiModelProperty("是否收藏 1收藏了")
    @TableField(exist = false)
    private Integer ifCollect;
}
